<template>
  <div id="app">
    <header>
        <router-view name="appHeader" />
    </header>
    <main>
      <router-view />
    </main>
    <footer>
      <router-view name="appFooter"/>
    </footer>
  </div>
</template>
<script>
// import './_reset.scss'
// import appheader from '@/components/ForHeader.vue'
export default {
  name: 'App'
}
</script>

<style>
  html, body {
    height: 100%;
  }

  @font-face {
  font-family: 'iconfont';  /* project id 1870756 */
  src: url('//at.alicdn.com/t/font_1870756_8vwp190drag.eot');
  src: url('//at.alicdn.com/t/font_1870756_8vwp190drag.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_1870756_8vwp190drag.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_1870756_8vwp190drag.woff') format('woff'),
  url('//at.alicdn.com/t/font_1870756_8vwp190drag.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_1870756_8vwp190drag.svg#iconfont') format('svg');
}

.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
</style>

<style lang="scss">
 #app {
    display: flex;
    flex-direction: column;
    height: 100%;

    main {
      flex: 1;
      overflow-x: hidden;
    }
  }
</style>
